AweBooking\Model\Booking B

Total Complexity 78
Dependencies 5
Dependents 17
Total lines 627
Lines of code 350
Logical lines of code 154
Comment lines 178
Methods 33
Properties 4

Methods 33

Method Rating Maintainability Complexity Lines of code
set_status()
A
56 9 18
sanitize_attribute()
A
56 8 18
perform_insert()
S
53 5 21
calculate_totals()
S
50 4 28
perform_update()
S
62 5 10
finish_save()
S
60 4 14
get_items()
S
60 4 13
apply_status_transition()
S
55 3 20
setup_dates()
S
57 3 17
update_status()
S
59 3 14
setup_attributes()
S
47 1 41
map_attributes()
S
47 1 36
get_check_out_date()
S
64 3 10
get_check_in_date()
S
64 3 10
remove_items()
S
68 2 7
get_status()
S
68 2 7
get_customer_fullname()
S
63 2 10
clean_cache()
S
77 1 4
setup()
S
70 1 6
get_public_token()
S
80 1 3
is_multiple_rooms()
S
80 1 3
set_public_token()
S
80 1 3
is_editable()
S
71 1 5
force_calculate_totals()
S
77 1 4
flush_items()
S
75 1 4
get_taxes()
S
80 1 3
get_fees()
S
80 1 3
get_services()
S
80 1 3
get_payments()
S
80 1 3
get_rooms()
S
80 1 3
get_line_items()
S
81 1 3
get_booking_number()
S
78 1 3
prefix()
S
80 1 3